﻿using System;
using System.Configuration;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Diagnostics;

namespace FlickrXplorer.Web.ViewData
{
    /// <summary>
    /// Holds information about paging through the collection of
    /// photos.
    /// </summary>                                              
    [Serializable]
    [DebuggerDisplay("Next url: {NextUrl}")]
    public class Pager
    {
        /// <summary>
        /// Gets or sets the next Url.
        /// </summary>                
        public string NextUrl { get; set; }
        /// <summary>
        /// Gets or sets the previous Url.
        /// </summary>                    
        public string PreviousUrl { get; set; }
        /// <summary>
        /// Gets or sets the current Url.
        /// </summary>                   
        public string CurrentUrl { get; set; }

        /// <summary>
        ///  integer url 
        /// </summary>
        public int Current { get; set; }
        public int Previous { get; set; }
        public int Next { get; set; }
    }
}